const menu = document.getElementsByClassName('menu_box')[0]
const subMenu = document.getElementsByClassName('subMenu')[0]

function downClick(e) {
 subMenu.style.display = subMenu.style.display === 'none' ? 'block' : 'none'
 e.stopPropagation()
}

const menuClick = (e) => {
 menu.style.display = e
}